﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace BDH.BLL
{
    public class BaseBLL : BDH.DAL.BaseDAL
    {
        public DataTable SelectMax(string tbl, string col, string where)
        {
            string sql = @" SELECT max("+col+") as max_id FROM "+tbl+" "+where+" ";
            return ExecuteQuery(sql);
        }
    }
}
